Sorts the specified enumeration, using its default item comparer as a sorting criteria.

Namespace: Keystone.Polaris
Assembly: Keystone (in Keystone.dll)

public static IEnumerable Order<TItem>( 
this IEnumerable itemsIn
OrderingType inDirection = Ascending 
)
This language is not supported or no code example is available.

Type Parameters

TItem

The type of the enumeration items to be sorted.

Parameters

itemsIn

Type: IEnumerable

The enumeration to be sorted. The results of the sorting process will not be reflected over this reference.

inDirection

Type: OrderingType

Whether the items will be ordered in ascending or descending fashion. Defaults to Ascending.

Return Value

The sorted enumeration to apply further processing via method chaining.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono